/* ✅ Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  overflow-x: hidden;
  background: #f4f4f4;
  min-height: 100vh;
}

/* ✅ Navbar */
.navbar {
  width: 100%;
  background: #0d1b2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: 0.3s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #ffcc00;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ✅ Right icons */
.right-icons a {
  color: #fff;
  font-size: 22px;
  margin-left: 15px;
  transition: 0.3s;
}

.right-icons a:hover {
  color: #ffcc00;
}

/* ✅ Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0c0b0b;
  min-width: 200px;
  border-radius: 6px;
  z-index: 1000;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 10px 15px;
  color: #eee;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background: #201d1d;
}
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ✅ Mobile Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background: #0d1b2a;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    z-index: 10000;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    font-size: 22px;
    cursor: pointer;
    margin-right: auto;
    order: -1;
  }
  .right-icons {
    margin-left: auto;
  }
}
@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }
}

/* ✅ Content spacing */
.content {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
}

/*------------------------------------------------Link section--------------------------------------*/
.references-section {
  max-width: 800px;
  margin: 40px auto 0;
  background: #fff;
  padding: 10px;
}

.references-section h2 {
  color: #0033cc;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  background: #000;
  margin: 8px 0 20px;
}

.reference-list {
  list-style: none;
  padding-left: 0;
}

.reference-list li {
  margin-bottom: 20px;
  line-height: 1.4;
  position: relative;
  padding-left: 20px;
}

.reference-list li::before {
  content: "●";
  color: #4da6ff;
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 0.9rem;
}

.ref-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 3px;
}

.reference-list a {
  display: block;
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
  word-wrap: break-word;
}

.reference-list a:hover {
  color: red;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .references-section {
    padding: 15px;
    margin-top: 80px;
  }
  .references-section h2 {
    font-size: 1.5rem;
  }
  .ref-title {
    font-size: 1rem;
  }
}

/*------------------------------------------------Footer section--------------------------------------*/
.footer-section {
  background: #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 16px;
  color: #333;
}

.footer-section a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-section {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px;
  }
}
